package com.meirengu.webview.service.impl;

import com.meirengu.service.impl.BaseServiceImpl;
import com.meirengu.webview.dao.ProductQualificationDao;
import com.meirengu.webview.model.ProductQualification;
import com.meirengu.webview.service.ProductQualificationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * ProductQualification服务实现层
 *
 * @author maroruxin
 * @create Thu Jan 24 18:47:30 CST 2019
 */
@Service
public class ProductQualificationServiceImpl extends BaseServiceImpl<ProductQualification> implements ProductQualificationService {

    @Autowired
    private ProductQualificationDao productQualificationDao;

    public List<Map<String, Object>> getListByIds(List ids) {
        Map params = new HashMap();
        params.put("idList", ids);
        return productQualificationDao.getByPage(params);
    }

}
